<!--
 * @Descripttion: 
 * @version: 
 * @Author: 高月飞
 * @Date: 2023-11-22 19:50:23
 * @LastEditors: 高月飞
 * @LastEditTime: 2023-11-25 08:14:59
-->
<template>
    <el-table :data="attaStore.$state.attainfo.attainfo" style="width: 100%"
        :header-cell-style="{ background: 'skyblue', color: '#606266' }">
        <el-table-column prop="uploader" label="上传人" />
        <el-table-column prop="accessoryname" label="附件名称">
        </el-table-column>
        <el-table-column prop="filesize" label="文件大小" />
        <el-table-column prop="uploadtime" label="上传时间" />
        <el-table-column prop="operator" label="操作人" />
        <el-table-column prop="illustrate" label="说明" />
        <el-table-column prop="operate" label="操作" />
    </el-table>
</template>
  
<script lang="ts" setup>
import { ref, onMounted } from 'vue';
import useAttaStore from '@/stores/atta';

const attaStore = useAttaStore();
interface IProps {
    dialogtrue: (value: boolean) => void
}
const props = defineProps<IProps>()
</script>
  
<style>
.el-table .warning-row {
    --el-table-tr-bg-color: var(--el-color-warning-light-9);
}

.el-table .success-row {
    --el-table-tr-bg-color: var(--el-color-success-light-9);
}
</style>
